﻿using System;
using System.Net;

namespace Galaktika.BI.Silverlight.Controls.MemberChoice.ClientServer
{
    public enum MemberChoiceQueryType
    {
        GetRootMembersCount,
        GetRootMembers,
        GetChildrenMembers,
        FindMembers
    }

    public class MemberChoiceQueryArgs
    {
        public MemberChoiceQueryType QueryType = MemberChoiceQueryType.GetRootMembers;

        public String CubeName = String.Empty;
        public String HierarchyUniqueName = String.Empty;
        public String StartLevelUniqueName = String.Empty;
        public String AncestorUniqueName = String.Empty;
        public String MemberUniqueName = String.Empty;
        
        public long BeginIndex = -1;
        public long Count = -1;

        public String StrToSearch = String.Empty;
        public bool BeginWith = false;
    }
}
